<div class="order">
<div class="mainnav">
		<div event-click="{{'$Event.bus.achs.getWeiFukuan'}}" class="nav-li first">待付款</div>
		<div event-click="{{'$Event.bus.achs.getWeiFaHuo'}}" class="nav-li">待发货</div>
		<div event-click="{{'$Event.bus.achs.getAllAchs'}}" class="nav-li">所有订单</div>
	</div>

	<div class="maintitle">当前位置：<span>{{$Cache.bus.achs.state||'所有订单'}}</span></div>

	<div class="orders">
	{{#each bus.achs_detail}}
		<ach_bus ></ach_bus>
	{{/each}}
	</div>
</div>

<xmp type="tag" name="ach_bus">
    <div class="order-box">
    	<div class="title" style="">订单号：{{_id}}（用户：{{info.user.info.name}}）</div>
    	<div class="goods" style="display:block;">
    	{{#each info.goods_info}}
    		<div class="goods-item" style="display:block;height:36px;">
		        <!-- w:100px h:100px -->
		        <div class="goods-image" style="float:left">
		            <img  style="width:36px;height:36px;" bind-src="{{goods.preview_img_url}}?imageView/1/w/36/h/36">
		        </div>
	            <div class="goods-info-item">
	            <a style="color:#1ba1e2;" href="/goods-details.html?id={{goods._id}}">{{goods.goods_name}}</a>（X {{num}}）</div>
	        </div>
		{{/each}}
    	</div>
        <div class="price">
            <div class="price-item first">总花费额：{{cash}}</div>
            <div class="price-item" title="{{#Time create_time,'L'}}">下单时间：{{#Time create_time}}</div>
        </div>
        {{#> "bus_ach_controller"}}
    </div>
</xmp>